<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Grom Hellscream
 * Date: 11/2/12
 * Time: 11:33 AM
 * To change this template use File | Settings | File Templates.
 */
// No direct access to this file
defined('_JEXEC') or die('Restricted access');

JHtml::_('behavior.keepalive');
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.tooltip');
$khoi = $this->get('khoi');
?>

<div id="crumbs">
    <div style="color: #222222;font-weight: normal;margin: 0;padding: 0">
        <a href="<?php echo JRoute::_('index.php?option=com_vast&view=vast') ?>">Trang chủ</a> »
        <span>Cơ cấu tổ chức</span> »
        <a href="<?php echo JRoute::_('index.php?option=com_vast&view=donvitructhuoc&id=' . $khoi->id); ?>"><?php echo $khoi->ten; ?></a>        
    </div>
</div>

<div id="main" class="home">

<h3 class="title green">Thêm đơn vị mới vào khối <?php echo $khoi->ten ?></h3>

<div class="form">
    <form class="commentform" action="<?php echo JRoute::_('index.php?option=com_vast&view=themdonvivaokhoi&id=' . $khoi->id); ?>" method="post" id="commentform" name="themdonvivaokhoi">

        <div class="row"><?php echo $this->form->getLabel('id'); ?>
            <?php echo $this->form->getInput('id'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('ten'); ?>
            <?php echo $this->form->getInput('ten'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('diachi'); ?>
            <?php echo $this->form->getInput('diachi'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('sodienthoai'); ?>
            <?php echo $this->form->getInput('sodienthoai'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('fax'); ?>
            <?php echo $this->form->getInput('fax'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('thudientu'); ?>
            <?php echo $this->form->getInput('thudientu'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('hinhanh'); ?>
            <?php echo $this->form->getInput('hinhanh'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('website'); ?>
            <?php echo $this->form->getInput('website'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('hoidongkhoahoc'); ?>
            <?php echo $this->form->getInput('hoidongkhoahoc'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('chucnang'); ?>
            <?php echo $this->form->getInput('chucnang'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('nhiemvu'); ?>
            <?php echo $this->form->getInput('nhiemvu'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('hoatdongthuongxuyen'); ?>
            <?php echo $this->form->getInput('hoatdongthuongxuyen'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('thongtinkhac'); ?>
            <?php echo $this->form->getInput('thongtinkhac'); ?>
        </div>

        <div class="row">
            <?php echo $this->form->getLabel('khoi_id'); ?>
            <?php echo $this->form->getInput('khoi_id'); ?>
        </div>
        
        <div class="row">
            <input type="hidden" name="option" value="com_vast" />
            <input type="hidden" name="task" value="themdonvivaokhoi.submit" />
        </div>
        <div class="row buttons">
            <button id="submit" type="submit" class="button"><?php echo JText::_('Thêm đơn vị'); ?></button>
            <?php echo JHtml::_('form.token'); ?>
        </div>
    </form>
</div>
<div class="clr"></div>
</div>